package com.shycloud.mido.organ.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@TableName("org_stu_order_detailed")
@EqualsAndHashCode(callSuper = true)
public class OrgStuOrderDetailedEntity extends Model<OrgStuOrderDetailedEntity> {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键id
	 */
	@TableId(value = "id", type = IdType.UUID)
	private String id;
	/**
	 * student关联id
	 */
	private String orderId;
	/**
	 * 机构id
	 */
	private Integer orgId;
	/**
	 * 类型 1:1对1单驱;2:1对1双驱;3:1对多双驱;91:硬件条;92:纠错大师;93:VIP;94:高级VIP;95:作业;
	 */
	private String type;
	/**
	 * 时长
	 */
	private Integer duration = 0;
	/**
	 * 课程类型ID
	 */
	private Integer lessonTypeId;
	/**
	 * 数量
	 */
	private Integer amount = 0;
	/**
	 * 价格
	 */
	private BigDecimal price = BigDecimal.ZERO;

}
